How to Get Records using flows